﻿/**********************************************************************
*创建人：蔡水明
*创建时间：2018/11/15 18:00:10
*说明：<Function>
/**********************************************************************/
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;

namespace WssServer
{
    public class Users
    {
        public string ID { get; set; }
        public long userId { get; set; }        
    }    
    public class ServerMsg
    {
        public int code { get; set; }
        public string msg { get; set; }
        public string data { get; set; }
    }
   

    #region 需要确认收到的回复
    public class ToBeConfigResponse
    {
        public string Phone { get; set; }
        public ServerResponse Msg { get; set; }

        /// <summary>
        /// 已经发送的次数
        /// </summary>
        public int SendTimes { get; set; } = 1;
        private const int maxSendTimes = 10;//最多尝试的次数
        public bool IsSendMaxTimes()
        {
            return SendTimes > maxSendTimes;
        }
    }

    #endregion   
   

}
